import Vue from 'vue'
import Vuex from 'vuex'
import modules from './modules'
const {
    actions,
    getters,
    mutations,
    state
}=modules
Vue.use(Vuex)
const store=()=>new Vuex.Store({
    actions,
    getters,
    mutations,
    state
    // strict: process.env.NODE_ENV !== 'production' //严格模式
  })
export default store
